import { BaseController } from '../BaseController';
import {Md5} from 'ts-md5/dist/md5';
import {PaymentLogger} from '../../Logger';

export class oppo extends BaseController {
    // protected SECRET: string = "";

    async Start(){
        try{
            PaymentLogger.info("oppo info: " + JSON.stringify(this.request.body));
        }catch(e){
            PaymentLogger.error("oppo error: " + <string>e + " body: " + JSON.stringify(this.request.body));
        }finally{
            this.defaultResponse();
        }
    }

    private defaultResponse(){
        var ret = "result=OK&resultMsg=成功";
        this.response.send(ret);
    }
}
